package com.csaba.connector.dummy;

import java.util.Currency;

import com.csaba.connector.model.Bank;
import com.csaba.connector.model.Country;

public class Codes
{
	public final static String LOCAL_CUSTOMER = "1";
	public final static String FOREIGN_CUSTOMER = "2";
	public final static String ERROR_CUSTOMER = "3";
	private static final long WAIT_TIME = 130;
	public final static Bank DUMMY_BANK = new Bank();
	static
	{
		DUMMY_BANK.setId("DUMMY");
		DUMMY_BANK.setName("Dummy Bank SA");
		DUMMY_BANK.setCountry(new Country());
		DUMMY_BANK.setLargeIcon(Codes.class.getResource("/com/csaba/connector/dummy/image/dummy_logo.png"));
		DUMMY_BANK.setSmallIcon(Codes.class.getResource("/com/csaba/connector/dummy/image/dummy_logo_16.png"));
		DUMMY_BANK.setBaseCurrency(Currency.getInstance("HUF"));
	}

	static void waitABit()
	{
		try
		{
			Thread.sleep(WAIT_TIME);
		}
		catch ( final InterruptedException ex )
		{
			ex.printStackTrace();
		}
	}

}
